package org.example.acl;

import lombok.extern.slf4j.Slf4j;
import org.springframework.security.acls.domain.AuditLogger;
import org.springframework.security.acls.model.AccessControlEntry;

@Slf4j
class MyAuditLogger implements AuditLogger {

    @Override
    public void logIfNeeded(boolean granted, AccessControlEntry ace) {
        log.info("#logIfNeeded# granted={} ace={}", granted, ace);
    }
}
